package com.sskj.b70.m.bean;

import com.google.gson.annotations.SerializedName;
import com.sskj.b70.utils.TimeFormatUtil;

import java.util.Date;

public class CustomListBean {

    /**
     * realname : 张三
     * wallone : 5000.0000
     * reg_time : 1530619320
     */

    @SerializedName(value = "realname", alternate = {"username"})
    private String realname;   // 名称
    @SerializedName(value = "mobile", alternate = {"tel"})
    private String mobile;   // 手机号码
    @SerializedName(value = "wallone", alternate = {"usableFund"})
    private String wallone;   // 余额
    @SerializedName(value = "reg_time", alternate = {"createTime"})
    private String reg_time;  //注册时间

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getWallone() {
        return wallone;
    }

    public void setWallone(String wallone) {
        this.wallone = wallone;
    }

    public String getReg_time() {
        return reg_time;
//        return TimeFormatUtil.SF_FORMAT_E.format(new Date(Long.valueOf(reg_time) * 1000));
    }

    public void setReg_time(String reg_time) {
        this.reg_time = reg_time;
    }
}
